﻿@{
    string searchstr = "";
    try { searchstr = Request.QueryString["s"].ToString(); } catch {}
}
<!DOCTYPE html>
<!--
Design by Free CSS Templates
http://www.freecsstemplates.org
Released for free under a Creative Commons Attribution 2.5 License

Name       : Shallow Grunge
Description: A two-column, fixed-width design with dark color scheme.
Version    : 1.0
Released   : 20080809

-->
<html>
<head>
<meta name="keywords" content="@ViewBag.MetaKeywords" />
<meta name="description" content="@ViewBag.MetaDescription" />
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>@ViewBag.Title</title>
<link href="@Url.Content("~/Content/shallowgrunge/style.css")" rel="stylesheet" type="text/css" media="screen" />
<link href="@Url.Content("~/Content/shallowgrunge/jquery-ui-1.8.7.custom.css")" rel="stylesheet" type="text/css" media="screen" />
<link href="@Url.Content("~/Content/openid.css")" rel="stylesheet" type="text/css" />
<link href="@Url.Content("~/Content/datatable.css")" rel="stylesheet" type="text/css" />
<script src="@Url.Content("/Scripts/jquery-1.4.4.min.js")" type="text/javascript"></script>
<script src="@Url.Content("/Scripts/jquery.unobtrusive-ajax.min.js")" type="text/javascript"></script>
<script src="@Url.Content("/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
<script src="@Url.Content("/Scripts/jquery-ui.min.js")" type="text/javascript"></script>
<script src="@Url.Content("/Scripts/MicrosoftAjax.js")" type="text/javascript"></script>  
<script src="@Url.Content("/Scripts/MicrosoftMvcAjax.js")" type="text/javascript"></script>
<script src="@Url.Content("/Scripts/jquery.dataTables.min.js")" type="text/javascript"></script>
<script src="@Url.Content("/ckeditor/ckeditor.js")" type="text/javascript"></script>
<style id="styles" type="text/css">
    @RenderSection("StyleInView", required: false)
</style>
<script type="text/javascript">

    var _gaq = _gaq || [];
    _gaq.push(['_setAccount', '@Session["GoogleAnalyticsAccount"].ToString()']);
    _gaq.push(['_trackPageview']);

    (function () {
        var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
        var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
    })();

</script>
</head>
<body>
<div id="wrapper">

	<div id="header">
		<div id="logo">
            <div>
			    <h3><a href="#">@Session["SiteTitle"].ToString()</a></h3>
            </div>
            <div style="clear: both"></div>
            <div>
                <p>@Session["BusinessUnitName"].ToString()</p>
            </div>
            <!--            
			design by <a href="http://www.freecsstemplates.org/">Free CSS Templates</a>
            -->          
		</div>
        <div id="sysarea">
            <div id="sysmenu">            
                @Html.Partial("_LogOnPartial")            
            </div>
		    <div id="search">
			    <form method="get" action="">
				    <fieldset>
				    <input id="search-text" type="text" name="s" value="@searchstr" size="15" />
				    <input type="submit" id="search-submit" value="Search" />
				    </fieldset>
			    </form>
    		</div>
		    <!-- end #search -->
        </div>
        <div style="clear: both;" ></div>
	</div>
	<!-- end #header -->

	<div id="menu">
        @Html.Action("Display", "MainMenu", new { area = "" })
        <!--
		<ul>
            <li>@Html.ActionLink("Home", "Index", "Home")</li>
            <li>@Html.ActionLink("About", "About", "Home")</li>
            <li>@Html.ActionLink("Admin", "Admin", "Home")</li>
		</ul>
        -->
	</div>
	<!-- end #menu -->

	<div id="page">
		<div id="content">
            @RenderBody()
		</div>
		<!-- end #content -->
		<div style="clear: both;">&nbsp;</div>
	</div>
	<!-- end #page -->
</div>

<div id="footer">
	<p>Copyright (c) @DateTime.Today.Year.ToString() @Session["BusinessUnitName"].ToString() All rights reserved. Design by <a href="http://www.freecsstemplates.org/">Free CSS Templates</a>.</p>
</div>

<!-- end #footer -->
</body>
</html>
